Cocktail Help Reference
OnInvoked(DialogUICommandInvokedArgs) Method
See Also  Send Feedback
Cocktail Assembly > Cocktail Namespace > DialogUICommand<T> Class : OnInvoked(DialogUICommandInvokedArgs) Method



args

Glossary Item Box

Triggers the Invoked event.

Syntax

Visual Basic (Declaration) 
Protected Overridable Function OnInvoked( _
   ByVal args As DialogUICommandInvokedArgs _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As DialogUICommand(Of T)
Dim args As DialogUICommandInvokedArgs
Dim value As Boolean
 
value = instance.OnInvoked(args)
C# 
protected virtual bool OnInvoked( 
   DialogUICommandInvokedArgs args
)
C++/CLI 
protected:
virtual bool OnInvoked( 
   DialogUICommandInvokedArgs^ args
) 

Parameters

args

Return Value

True if the command was successful, false if the command was cancelled.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.